/*
 * =====================================================================================
 *
 *       Filename:  IVisitor.h
 *
 *    Description:
 *
 *        Version:  1.0
 *        Created:  01/05/2022 03:47:49 PM
 *       Revision:  none
 *       Compiler:  gcc
 *
 *         Author:  first_name last_name (fl), fl@my-company.com
 *        Company:  my-company
 *
 * =====================================================================================
 */

#pragma once

class CCommonEmployee;
class CManager;
class IVisitor {
  public:

    IVisitor(void) {
    } virtual ~ IVisitor(void) {
    }
    virtual void Visit(CCommonEmployee commonEmployee) = 0;
    virtual void Visit(CManager manager) = 0;
    virtual int GetTotalSalary() = 0;
};
